package com.code.day06;

public class Test02 {
    public static void main(String[] args) {
        MyDate birthday = new MyDate();
        birthday.year = 1999;
        birthday.month = 10;
        birthday.day = 1;
        System.out.println(birthday.year + "年" + birthday.month + "月" + birthday.day + "日");

        MyDate comeDate = new MyDate();
        comeDate.year = 2020;
        comeDate.month = 10;
        comeDate.day = 1;
        System.out.println(comeDate.year + "年" + comeDate.month + "月" + comeDate.day + "日");


        MyDate biYedate = new MyDate();
        biYedate.year = 1999;
        biYedate.month = 10;
        biYedate.day = 1;
        System.out.println(biYedate.year + "年" + biYedate.month + "月" + biYedate.day + "日");
    }
}
